package com.uduemc.biso.core.feign.fallback;

import com.uduemc.biso.core.extities.center.HostSetup;
import com.uduemc.biso.core.feign.HostSetupFeign;
import com.uduemc.biso.core.utils.RestResult;

import feign.hystrix.FallbackFactory;

public class HostSetupFeignFallback implements FallbackFactory<HostSetupFeign> {

	@Override
	public HostSetupFeign create(Throwable cause) {
		return new HostSetupFeign() {

			@Override
			public RestResult findInfoByHostId(Long hostId) {
				return null;
			}

			@Override
			public RestResult insert(HostSetup hostSetup) {
				return null;
			}

			@Override
			public RestResult findOne(Long id) {
				return null;
			}
		};
	}

}
